﻿using HamcoWcs.Models.Common;
using HamcoWcs.Models.Common.Enums;
using System;
using System.Collections.Generic;

namespace HamcoWcs.Models.ForeEndModels.UITasks
{


    public class QuerySubTask : PageSizeTime
    {
        public string FromLoc { get; set; }
        public string ToLoc { get; set; }
        //public EnumSubTaskType SubTaskType { get; set; }
        public string UnitId { get; set; }
        //public EnumSubTaskStatus TaskStatus { get; set; }
        public string PlcName { get; set; }
    }
    public class UISubTask
    {
        public long Id { get; set; }
        public string TaskFrom { get; set; }

        public string SubTaskId { get; set; }

        public string SubTaskType { get; set; }

        public string UnitId { get; set; }

        public string FromLoc { get; set; }

        public string ToLoc { get; set; }

        public int TaskSeq { get; set; }

        public string TaskStatus { get; set; }

        public string PlcName { get; set; }

        public string CreatedTime { get; set; }

        public string HandOffShelf { get; set; }

        //====================================
        public string SendTime { get; set; }
        public string StartTime { get; set; }
        public string CompleteTime { get; set; }
        public string TransportTime { get; set; }
        //====================================
    }

 

    public class UpdateSubTaskResult : ForeEndResult

    {
        public bool IsUpdate { get; set; }
    }
}
